<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>inf-text-buffer</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0">
<link rel="home" href="index.html" title="libinftext-0.4 Reference Manual">
<link rel="up" href="ch01.html" title="libinftext API reference">
<link rel="prev" href="libinftext-0.4-inf-text-session.html" title="InfTextSession">
<link rel="next" href="InfTextUser.html" title="InfTextUser">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libinftext-0.4-inf-text-session.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libinftext-0.4 Reference Manual</th>
<td><a accesskey="n" href="InfTextUser.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libinftext-0.4-inf-text-buffer.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#libinftext-0.4-inf-text-buffer.description" class="shortcut">Description</a>
                   | 
                  <a href="#libinftext-0.4-inf-text-buffer.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#libinftext-0.4-inf-text-buffer.prerequisites" class="shortcut">Prerequisites</a>
                   | 
                  <a href="#libinftext-0.4-inf-text-buffer.implementations" class="shortcut">Known Implementations</a>
                   | 
                  <a href="#libinftext-0.4-inf-text-buffer.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry" title="inf-text-buffer">
<a name="libinftext-0.4-inf-text-buffer"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libinftext-0.4-inf-text-buffer.top_of_page"></a>inf-text-buffer</span></h2>
<p>inf-text-buffer</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="libinftext-0.4-inf-text-buffer.synopsis"></a><h2>Synopsis</h2>
<a name="InfTextBuffer"></a><pre class="synopsis">                    <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer-struct" title="InfTextBuffer">InfTextBuffer</a>;
                    <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIface" title="InfTextBufferIface">InfTextBufferIface</a>;
                    <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter">InfTextBufferIter</a>;
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="libinftext-0.4-inf-text-buffer.html#inf-text-buffer-get-encoding" title="inf_text_buffer_get_encoding ()">inf_text_buffer_get_encoding</a>        (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="libinftext-0.4-inf-text-buffer.html#inf-text-buffer-get-length" title="inf_text_buffer_get_length ()">inf_text_buffer_get_length</a>          (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>);
<a class="link" href="libinftext-0.4-inf-text-chunk.html#InfTextChunk" title="InfTextChunk"><span class="returnvalue">InfTextChunk</span></a> *      <a class="link" href="libinftext-0.4-inf-text-buffer.html#inf-text-buffer-get-slice" title="inf_text_buffer_get_slice ()">inf_text_buffer_get_slice</a>           (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> pos</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> len</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libinftext-0.4-inf-text-buffer.html#inf-text-buffer-insert-text" title="inf_text_buffer_insert_text ()">inf_text_buffer_insert_text</a>         (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> pos</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> text</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> bytes</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> len</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfUser.html"><span class="type">InfUser</span></a> *user</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libinftext-0.4-inf-text-buffer.html#inf-text-buffer-insert-chunk" title="inf_text_buffer_insert_chunk ()">inf_text_buffer_insert_chunk</a>        (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> pos</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-chunk.html#InfTextChunk" title="InfTextChunk"><span class="type">InfTextChunk</span></a> *chunk</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfUser.html"><span class="type">InfUser</span></a> *user</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libinftext-0.4-inf-text-buffer.html#inf-text-buffer-erase-text" title="inf_text_buffer_erase_text ()">inf_text_buffer_erase_text</a>          (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> pos</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> len</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfUser.html"><span class="type">InfUser</span></a> *user</code></em>);
<a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="returnvalue">InfTextBufferIter</span></a> * <a class="link" href="libinftext-0.4-inf-text-buffer.html#inf-text-buffer-create-iter" title="inf_text_buffer_create_iter ()">inf_text_buffer_create_iter</a>         (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libinftext-0.4-inf-text-buffer.html#inf-text-buffer-destroy-iter" title="inf_text_buffer_destroy_iter ()">inf_text_buffer_destroy_iter</a>        (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> *iter</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libinftext-0.4-inf-text-buffer.html#inf-text-buffer-iter-next" title="inf_text_buffer_iter_next ()">inf_text_buffer_iter_next</a>           (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> *iter</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libinftext-0.4-inf-text-buffer.html#inf-text-buffer-iter-prev" title="inf_text_buffer_iter_prev ()">inf_text_buffer_iter_prev</a>           (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> *iter</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            <a class="link" href="libinftext-0.4-inf-text-buffer.html#inf-text-buffer-iter-get-text" title="inf_text_buffer_iter_get_text ()">inf_text_buffer_iter_get_text</a>       (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> *iter</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="libinftext-0.4-inf-text-buffer.html#inf-text-buffer-iter-get-length" title="inf_text_buffer_iter_get_length ()">inf_text_buffer_iter_get_length</a>     (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> *iter</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="returnvalue">gsize</span></a>               <a class="link" href="libinftext-0.4-inf-text-buffer.html#inf-text-buffer-iter-get-bytes" title="inf_text_buffer_iter_get_bytes ()">inf_text_buffer_iter_get_bytes</a>      (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> *iter</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="libinftext-0.4-inf-text-buffer.html#inf-text-buffer-iter-get-author" title="inf_text_buffer_iter_get_author ()">inf_text_buffer_iter_get_author</a>     (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> *iter</code></em>);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="libinftext-0.4-inf-text-buffer.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  GInterface
   +----InfTextBuffer
</pre>
</div>
<div class="refsect1" title="Prerequisites">
<a name="libinftext-0.4-inf-text-buffer.prerequisites"></a><h2>Prerequisites</h2>
<p>
InfTextBuffer requires
 <a href="../libinfinity-0.4/InfBuffer.html">InfBuffer</a> and  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>.</p>
</div>
<div class="refsect1" title="Known Implementations">
<a name="libinftext-0.4-inf-text-buffer.implementations"></a><h2>Known Implementations</h2>
<p>
InfTextBuffer is implemented by
 <a class="link" href="InfTextDefaultBuffer.html" title="InfTextDefaultBuffer">InfTextDefaultBuffer</a>.</p>
</div>
<div class="refsect1" title="Signals">
<a name="libinftext-0.4-inf-text-buffer.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer-erase-text" title='The "erase-text" signal'>erase-text</a>"                                     : Run Last
  "<a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer-insert-text" title='The "insert-text" signal'>insert-text</a>"                                    : Run Last
</pre>
</div>
<div class="refsect1" title="Description">
<a name="libinftext-0.4-inf-text-buffer.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="libinftext-0.4-inf-text-buffer.details"></a><h2>Details</h2>
<div class="refsect2" title="InfTextBuffer">
<a name="InfTextBuffer-struct"></a><h3>InfTextBuffer</h3>
<pre class="programlisting">typedef struct _InfTextBuffer InfTextBuffer;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="InfTextBufferIface">
<a name="InfTextBufferIface"></a><h3>InfTextBufferIface</h3>
<pre class="programlisting">typedef struct {
  GTypeInterface parent;

  /* Virtual table */
  const gchar* (*get_encoding)(InfTextBuffer* buffer);

  guint(*get_length)(InfTextBuffer* buffer);

  InfTextChunk*(*get_slice)(InfTextBuffer* buffer,
                            guint pos,
                            guint len);

  InfTextBufferIter*(*create_iter)(InfTextBuffer* buffer);

  void(*destroy_iter)(InfTextBuffer* buffer,
                      InfTextBufferIter* iter);

  gboolean(*iter_next)(InfTextBuffer* buffer,
                       InfTextBufferIter* iter);
  
  gboolean(*iter_prev)(InfTextBuffer* buffer,
                       InfTextBufferIter* iter);

  gpointer(*iter_get_text)(InfTextBuffer* buffer,
                           InfTextBufferIter* iter);

  guint(*iter_get_length)(InfTextBuffer* buffer,
                          InfTextBufferIter* iter);

  gsize(*iter_get_bytes)(InfTextBuffer* buffer,
                         InfTextBufferIter* iter);

  guint(*iter_get_author)(InfTextBuffer* buffer,
                          InfTextBufferIter* iter);

  /* Signals */
  void(*insert_text)(InfTextBuffer* buffer,
                     guint pos,
                     InfTextChunk* chunk,
                     InfUser* user);

  void(*erase_text)(InfTextBuffer* buffer,
                    guint pos,
                    guint len,
                    InfUser* user);
} InfTextBufferIface;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="InfTextBufferIter">
<a name="InfTextBufferIter"></a><h3>InfTextBufferIter</h3>
<pre class="programlisting">typedef struct _InfTextBufferIter InfTextBufferIter;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="inf_text_buffer_get_encoding ()">
<a name="inf-text-buffer-get-encoding"></a><h3>inf_text_buffer_get_encoding ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       inf_text_buffer_get_encoding        (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>);</pre>
<p>
Returns the character encoding that the buffer uses. This means that all
<a class="link" href="libinftext-0.4-inf-text-chunk.html#InfTextChunk" title="InfTextChunk"><span class="type">InfTextChunk</span></a> return values are encoded in this encoding and all
<a class="link" href="libinftext-0.4-inf-text-chunk.html#InfTextChunk" title="InfTextChunk"><span class="type">InfTextChunk</span></a> parameters are expected to be encoded in that encoding.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The character encoding for <em class="parameter"><code>buffer</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_text_buffer_get_length ()">
<a name="inf-text-buffer-get-length"></a><h3>inf_text_buffer_get_length ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               inf_text_buffer_get_length          (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>);</pre>
<p>
Returns the number of characters in <em class="parameter"><code>buffer</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The length of <em class="parameter"><code>buffer</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_text_buffer_get_slice ()">
<a name="inf-text-buffer-get-slice"></a><h3>inf_text_buffer_get_slice ()</h3>
<pre class="programlisting"><a class="link" href="libinftext-0.4-inf-text-chunk.html#InfTextChunk" title="InfTextChunk"><span class="returnvalue">InfTextChunk</span></a> *      inf_text_buffer_get_slice           (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> pos</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> len</code></em>);</pre>
<p>
Reads <em class="parameter"><code>len</code></em> characters, starting at <em class="parameter"><code>pos</code></em>, from the buffer, and returns them
as a <a class="link" href="libinftext-0.4-inf-text-chunk.html#InfTextChunk" title="InfTextChunk"><span class="type">InfTextChunk</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
<td>Character offset of where to start extracting.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>len</code></em> :</span></p></td>
<td>Number of characters to extract.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A <a class="link" href="libinftext-0.4-inf-text-chunk.html#InfTextChunk" title="InfTextChunk"><span class="type">InfTextChunk</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_text_buffer_insert_text ()">
<a name="inf-text-buffer-insert-text"></a><h3>inf_text_buffer_insert_text ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                inf_text_buffer_insert_text         (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> pos</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> text</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> bytes</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> len</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfUser.html"><span class="type">InfUser</span></a> *user</code></em>);</pre>
<p>
Inserts <em class="parameter"><code>text</code></em> into <em class="parameter"><code>buffer</code></em> as written by <em class="parameter"><code>author</code></em>. <em class="parameter"><code>text</code></em> must be encoded in
the character encoding of the buffer, see <a class="link" href="libinftext-0.4-inf-text-buffer.html#inf-text-buffer-get-encoding" title="inf_text_buffer_get_encoding ()"><code class="function">inf_text_buffer_get_encoding()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
<td>A character offset into <em class="parameter"><code>buffer</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td>A pointer to the text to insert.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>bytes</code></em> :</span></p></td>
<td>The length (in bytes) of <em class="parameter"><code>text</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>len</code></em> :</span></p></td>
<td>The length (in characters) of <em class="parameter"><code>text</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user</code></em> :</span></p></td>
<td>A <a href="../libinfinity-0.4/InfUser.html"><span class="type">InfUser</span></a> that has inserted the new text, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_text_buffer_insert_chunk ()">
<a name="inf-text-buffer-insert-chunk"></a><h3>inf_text_buffer_insert_chunk ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                inf_text_buffer_insert_chunk        (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> pos</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-chunk.html#InfTextChunk" title="InfTextChunk"><span class="type">InfTextChunk</span></a> *chunk</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfUser.html"><span class="type">InfUser</span></a> *user</code></em>);</pre>
<p>
Inserts a <a class="link" href="libinftext-0.4-inf-text-chunk.html#InfTextChunk" title="InfTextChunk"><span class="type">InfTextChunk</span></a> into <em class="parameter"><code>buffer</code></em>. <em class="parameter"><code>user</code></em> must not necessarily be the
author of <em class="parameter"><code>chunk</code></em> (<em class="parameter"><code>chunk</code></em> may even consist of multiple segments). This
happens when undoing a delete operation that erased another user's text.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
<td>A character offset into <em class="parameter"><code>buffer</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>chunk</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-chunk.html#InfTextChunk" title="InfTextChunk"><span class="type">InfTextChunk</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user</code></em> :</span></p></td>
<td>A <a href="../libinfinity-0.4/InfUser.html"><span class="type">InfUser</span></a> inserting <em class="parameter"><code>chunk</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_text_buffer_erase_text ()">
<a name="inf-text-buffer-erase-text"></a><h3>inf_text_buffer_erase_text ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                inf_text_buffer_erase_text          (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> pos</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> len</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfUser.html"><span class="type">InfUser</span></a> *user</code></em>);</pre>
<p>
Erases characters from the text buffer.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
<td>The position to begin deleting characters from.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>len</code></em> :</span></p></td>
<td>The amount of characters to delete.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user</code></em> :</span></p></td>
<td>A <a href="../libinfinity-0.4/InfUser.html"><span class="type">InfUser</span></a> that erases the text, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_text_buffer_create_iter ()">
<a name="inf-text-buffer-create-iter"></a><h3>inf_text_buffer_create_iter ()</h3>
<pre class="programlisting"><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="returnvalue">InfTextBufferIter</span></a> * inf_text_buffer_create_iter         (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>);</pre>
<p>
Creates a <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> pointing to the first segment of <em class="parameter"><code>buffer</code></em>.
A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> is used to traverse the buffer contents in steps of
so-called segments each of which is written by the same user. The function
returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there are no segments (i.e. the buffer is empty).
</p>
<p>
The iterator stays valid as long as the buffer remains unmodified and
must be freed with <a class="link" href="libinftext-0.4-inf-text-buffer.html#inf-text-buffer-destroy-iter" title="inf_text_buffer_destroy_iter ()"><code class="function">inf_text_buffer_destroy_iter()</code></a> before.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> to be freed by
<a class="link" href="libinftext-0.4-inf-text-buffer.html#inf-text-buffer-destroy-iter" title="inf_text_buffer_destroy_iter ()"><code class="function">inf_text_buffer_destroy_iter()</code></a> when done using it, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_text_buffer_destroy_iter ()">
<a name="inf-text-buffer-destroy-iter"></a><h3>inf_text_buffer_destroy_iter ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                inf_text_buffer_destroy_iter        (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> *iter</code></em>);</pre>
<p>
Destroys a <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> created by <a class="link" href="libinftext-0.4-inf-text-buffer.html#inf-text-buffer-create-iter" title="inf_text_buffer_create_iter ()"><code class="function">inf_text_buffer_create_iter()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> pointing into <em class="parameter"><code>buffer</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_text_buffer_iter_next ()">
<a name="inf-text-buffer-iter-next"></a><h3>inf_text_buffer_iter_next ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            inf_text_buffer_iter_next           (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> *iter</code></em>);</pre>
<p>
Moves <em class="parameter"><code>iter</code></em> to point to the next segment in the buffer. If <em class="parameter"><code>iter</code></em> already
points to the last segment, <em class="parameter"><code>iter</code></em> is left unmodified and the function
returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> pointing into <em class="parameter"><code>buffer</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Whether <em class="parameter"><code>iter</code></em> was moved.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_text_buffer_iter_prev ()">
<a name="inf-text-buffer-iter-prev"></a><h3>inf_text_buffer_iter_prev ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            inf_text_buffer_iter_prev           (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> *iter</code></em>);</pre>
<p>
Moves <em class="parameter"><code>iter</code></em> to point to the previous segment in the buffer. If <em class="parameter"><code>iter</code></em>
already points to the first segment, <em class="parameter"><code>iter</code></em> is left unmodified and the
function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> pointing into <em class="parameter"><code>buffer</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Whether <em class="parameter"><code>iter</code></em> was moved.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_text_buffer_iter_get_text ()">
<a name="inf-text-buffer-iter-get-text"></a><h3>inf_text_buffer_iter_get_text ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            inf_text_buffer_iter_get_text       (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> *iter</code></em>);</pre>
<p>
Returns the text of the segment <em class="parameter"><code>iter</code></em> points to. It is encoded in
<em class="parameter"><code>buffer</code></em>'s encoding (see <a class="link" href="libinftext-0.4-inf-text-buffer.html#inf-text-buffer-get-encoding" title="inf_text_buffer_get_encoding ()"><code class="function">inf_text_buffer_get_encoding()</code></a>).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> pointing into <em class="parameter"><code>buffer</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The text of the segment <em class="parameter"><code>iter</code></em> points to. Free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>
when done using it.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_text_buffer_iter_get_length ()">
<a name="inf-text-buffer-iter-get-length"></a><h3>inf_text_buffer_iter_get_length ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               inf_text_buffer_iter_get_length     (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> *iter</code></em>);</pre>
<p>
Returns the length of the segment <em class="parameter"><code>iter</code></em> points to, in characters.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> pointing into <em class="parameter"><code>buffer</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The number of characters of the segment <em class="parameter"><code>iter</code></em> points to.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_text_buffer_iter_get_bytes ()">
<a name="inf-text-buffer-iter-get-bytes"></a><h3>inf_text_buffer_iter_get_bytes ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="returnvalue">gsize</span></a>               inf_text_buffer_iter_get_bytes      (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> *iter</code></em>);</pre>
<p>
Returns the length of the segment <em class="parameter"><code>iter</code></em> points to, in bytes.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> pointing into <em class="parameter"><code>buffer</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The number of bytes of the segment <em class="parameter"><code>iter</code></em> points to.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_text_buffer_iter_get_author ()">
<a name="inf-text-buffer-iter-get-author"></a><h3>inf_text_buffer_iter_get_author ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               inf_text_buffer_iter_get_author     (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *buffer</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> *iter</code></em>);</pre>
<p>
Returns the user ID of the user that has written the segment <em class="parameter"><code>iter</code></em> points
to.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBufferIter" title="InfTextBufferIter"><span class="type">InfTextBufferIter</span></a> pointing into <em class="parameter"><code>buffer</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The user ID of the user that wrote the segment <em class="parameter"><code>iter</code></em> points
to.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="Signal Details">
<a name="libinftext-0.4-inf-text-buffer.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2" title='The "erase-text" signal'>
<a name="InfTextBuffer-erase-text"></a><h3>The <code class="literal">"erase-text"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *inftextbuffer,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>          arg1,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>          arg2,
                                                        <a href="../libinfinity-0.4/InfUser.html"><span class="type">InfUser</span></a>       *arg3,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)          : Run Last</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>inftextbuffer</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg2</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg3</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title='The "insert-text" signal'>
<a name="InfTextBuffer-insert-text"></a><h3>The <code class="literal">"insert-text"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="libinftext-0.4-inf-text-buffer.html#InfTextBuffer"><span class="type">InfTextBuffer</span></a> *inftextbuffer,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>          arg1,
                                                        <a class="link" href="libinftext-0.4-inf-text-chunk.html#InfTextChunk" title="InfTextChunk"><span class="type">InfTextChunk</span></a>  *arg2,
                                                        <a href="../libinfinity-0.4/InfUser.html"><span class="type">InfUser</span></a>       *arg3,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)          : Run Last</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>inftextbuffer</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg2</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg3</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15</div>
</body>
</html>